﻿using AspNetCore.Identity.MongoDbCore.Models;
using MongoDbGenericRepository.Attributes;
using System.ComponentModel.DataAnnotations;

namespace english_sentences.Models
{
    [CollectionName("Users")]
    public class User : MongoIdentityUser<Guid>
    {
        [StringLength(100)]
    
        public string FullName { get; set; }

        [StringLength(300)]
 
        public string Avatar { get; set; }


        public string RefreshToken { get; set; }

        public DateTime? RefreshTokenExpiryTime { get; set; }
    }
}
